package com.tnf.bc.bground.certificate.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tnf.bc.bground.common.entiy.BaseEntiy;

import java.beans.Transient;
import java.util.Date;
import java.util.List;

/**
 * @description: //书城用户
 * @author: lzl
 * @create: 2022-11-18 16:24
 **/

public class SysUser extends BaseEntiy {

    private String userName;
    private String passWord;
    private String email;
    private String avatar;
    private String city;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date last_login;

    private List<Long> roleIds;

    private Boolean isAdmin = Boolean.FALSE;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public Date getLast_login() {
        return last_login;
    }

    public void setLast_login(Date last_login) {
        this.last_login = last_login;
    }

    public Boolean getAdmin() {
        return isAdmin;
    }

    public void setAdmin(Boolean admin) {
        isAdmin = admin;
    }

    public List<Long> getRoleIds() {
        return roleIds;
    }

    public void setRoleIds(List<Long> roleIds) {
        this.roleIds = roleIds;
    }
}